/*
  Name: DeadProxyClientVip.h
  Copyright:
  Author: Carl Chatfield
  Date: 16/02/08 23:12
  Description: Stores vip list
*/

#ifndef __DEADPROXYCLIENTVIP_h__
#define __DEADPROXYCLIENTVIP_h__

#ifdef __BORLANDC__
	#pragma hdrstop
#endif

#ifndef WX_PRECOMP
	#include <wx/wx.h>
#else
	#include <wx/wxprec.h>
#endif


class VIPList
{
    public:
        struct VIPInfo
        {
            unsigned int TibiaId;
            char Name[32];
            bool Online;
        };
    private:
        struct ListInfo
        {
            int Count;
            VIPInfo list[200];
        };
        ListInfo List;
        bool AlphaGreaterTest(char * s1, char * s2);
        bool InsertVIP(unsigned int TibiaId, char * Name, bool Online);
        bool DeleteVIP(unsigned int TibiaId);
    public:
        void AddVIP(unsigned int TibiaId, char * Name, bool Online);
        void RemVIP(unsigned int TibiaId);
        void VIPLogin(unsigned int TibiaId);
        void VIPLogout(unsigned int TibiaId);
        VIPList();
};

#endif
